package com.ruoyi.student.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生信息对象 student
 *
 * @author ruoyi
 * @date 2024-09-20
 */
public class Student extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生ID */
    private Long studentId;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 班级 */
    @Excel(name = "班级")
    private String studentClass;

    /** 学生生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "学生生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date studentBithday;

    /** 学生政治面貌 */
    @Excel(name = "学生政治面貌")
    private String studentOutlook;

    /** 学生院系 */
    @Excel(name = "学生院系")
    private String studentFaculties;

    /** 学生专业 */
    @Excel(name = "学生专业")
    private String studentSpecialized;

    /** 省 */
    @Excel(name = "省")
    private String studentProvince;

    /** 市 */
    @Excel(name = "市")
    private String studentCity;

    /** 区 */
    @Excel(name = "区")
    private String studentDistrict;

    /** 街道 */
    @Excel(name = "街道")
    private String studentStreet;

    /** 外键 */
    @Excel(name = "外键")
    private Long uid;

    /** 学生年级 */
    @Excel(name = "学生年级")
    private String studentGrade;

    /** 学生民族 */
    @Excel(name = "学生民族")
    private String studentNation;

    public void setStudentId(Long studentId)
    {
        this.studentId = studentId;
    }

    public Long getStudentId()
    {
        return studentId;
    }
    public void setStudentName(String studentName)
    {
        this.studentName = studentName;
    }

    public String getStudentName()
    {
        return studentName;
    }
    public void setStudentClass(String studentClass)
    {
        this.studentClass = studentClass;
    }

    public String getStudentClass()
    {
        return studentClass;
    }
    public void setStudentBithday(Date studentBithday)
    {
        this.studentBithday = studentBithday;
    }

    public Date getStudentBithday()
    {
        return studentBithday;
    }
    public void setStudentOutlook(String studentOutlook)
    {
        this.studentOutlook = studentOutlook;
    }

    public String getStudentOutlook()
    {
        return studentOutlook;
    }
    public void setStudentFaculties(String studentFaculties)
    {
        this.studentFaculties = studentFaculties;
    }

    public String getStudentFaculties()
    {
        return studentFaculties;
    }
    public void setStudentSpecialized(String studentSpecialized)
    {
        this.studentSpecialized = studentSpecialized;
    }

    public String getStudentSpecialized()
    {
        return studentSpecialized;
    }
    public void setStudentProvince(String studentProvince)
    {
        this.studentProvince = studentProvince;
    }

    public String getStudentProvince()
    {
        return studentProvince;
    }
    public void setStudentCity(String studentCity)
    {
        this.studentCity = studentCity;
    }

    public String getStudentCity()
    {
        return studentCity;
    }
    public void setStudentDistrict(String studentDistrict)
    {
        this.studentDistrict = studentDistrict;
    }

    public String getStudentDistrict()
    {
        return studentDistrict;
    }
    public void setStudentStreet(String studentStreet)
    {
        this.studentStreet = studentStreet;
    }

    public String getStudentStreet()
    {
        return studentStreet;
    }
    public void setUid(Long uid)
    {
        this.uid = uid;
    }

    public Long getUid()
    {
        return uid;
    }
    public void setStudentGrade(String studentGrade)
    {
        this.studentGrade = studentGrade;
    }

    public String getStudentGrade()
    {
        return studentGrade;
    }
    public void setStudentNation(String studentNation)
    {
        this.studentNation = studentNation;
    }

    public String getStudentNation()
    {
        return studentNation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("studentId", getStudentId())
                .append("studentName", getStudentName())
                .append("studentClass", getStudentClass())
                .append("studentBithday", getStudentBithday())
                .append("studentOutlook", getStudentOutlook())
                .append("studentFaculties", getStudentFaculties())
                .append("studentSpecialized", getStudentSpecialized())
                .append("studentProvince", getStudentProvince())
                .append("studentCity", getStudentCity())
                .append("studentDistrict", getStudentDistrict())
                .append("studentStreet", getStudentStreet())
                .append("uid", getUid())
                .append("studentGrade", getStudentGrade())
                .append("studentNation", getStudentNation())
                .toString();
    }
}
